<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2017/6/28
  Time: 9:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>Uplod</title>
</head>
<body>
<h2>spring mvc 上传</h2>
<form enctype="multipart/form-data" method="post" action="up.action">
    上传文件:<input type="file" name="ufile" multiple><<br>
    用户:<input type="text" name="user"><<br>
    <input type="submit" value="提交">
</form>

<hr>
<h2>spring mvc 多文件上传</h2>
<form enctype="multipart/form-data" method="post" action="uploads.do">
    上传文件:<input type="file" name="ufile" multiple><<br>
    用户:<input type="text" name="user"><<br>
    <input type="submit" value="提交">
</form>

<hr>
<h2>spring mvc servlet3.0 上传</h2>
<form enctype="multipart/form-data" method="post" action="serupload.action">
    上传文件:<input type="file" name="ufile" multiple><<br>
    用户:<input type="text" name="user"><<br>
    <input type="submit" value="提交">
</form>

<hr>
<h2>spring mvc servlet commsupload</h2>
<form enctype="multipart/form-data" method="post" action="commupload.action">
    上传文件:<input type="file" name="ufile" multiple><<br>
    用户:<input type="text" name="user"><<br>
    <input type="submit" value="提交">
</form>

</body>
</html>
